package com.ruoyi.zhgd.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 沥青技术要求_列表业务对象 n_laboratory_asphalt_requires_ref
 *
 * @author cj
 * @date 2023-09-21
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class NLaboratoryAsphaltRequiresRefBo extends BaseEntity {

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 主表主键
     */
    @NotBlank(message = "主表主键不能为空", groups = { AddGroup.class, EditGroup.class })
    private String asphaltId;

    /**
     * 最大值
     */
    @NotNull(message = "最大值不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal max;

    /**
     * 最小值
     */
    @NotNull(message = "最小值不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal min;

    /**
     * 类型（针入度、软化点、延度）
     */
    @NotBlank(message = "类型（针入度、软化点、延度）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String type;

    /**
     * 温度
     */
    @NotNull(message = "温度不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal temperature;

    /**
     * 等级
     */
    @NotBlank(message = "等级不能为空", groups = { AddGroup.class, EditGroup.class })
    private String level;

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String deleted;


}
